Skip to content

chore: handle ineligible_guides in guides fetch response#844

Merged
thomaswhyyou merged 4 commits intomainfrom
thomas-kno-11142-sdk-guide-toolbar-v2-poc-4
Feb 13, 2026
Merged

chore: handle ineligible_guides in guides fetch response#844
thomaswhyyou merged 4 commits intomainfrom
thomas-kno-11142-sdk-guide-toolbar-v2-poc-4

Conversation

@thomaswhyyou
Copy link
Contributor

@thomaswhyyou thomaswhyyou commented Feb 2, 2026

Description

This PR updates the guide client so it reads ineligible_guides from the fetch endpoint response and stores into the client state store, to prep ahead of the toolbar changes in downstream PRs.

As a reminder, this new field was introduced recently (here) to expose "ineligible markers", a minimal payload that explains which guide was evaluated ineligible for what reason. This information was previously inaccessible to the outside callers, but we want to surface it in the guide toolbar.

@linear
Copy link

linear bot commented Feb 2, 2026

@vercel
Copy link

vercel bot commented Feb 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
javascript-ms-teams-connect-example Ready Ready Preview, Comment Feb 12, 2026 10:26pm
javascript-nextjs-example Ready Ready Preview, Comment Feb 12, 2026 10:26pm
javascript-slack-connect-example Ready Ready Preview, Comment Feb 12, 2026 10:26pm
javascript-slack-kit-example Ready Ready Preview, Comment Feb 12, 2026 10:26pm

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Feb 2, 2026

⚠️ No Changeset found

Latest commit: ce42ed9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@thomaswhyyou thomaswhyyou force-pushed the thomas-kno-11142-sdk-guide-toolbar-v2-poc-1 branch from 3ca6b2e to bfd9122 Compare February 2, 2026 20:10
@thomaswhyyou thomaswhyyou force-pushed the thomas-kno-11142-sdk-guide-toolbar-v2-poc-4 branch from 9c6bd46 to 34821df Compare February 2, 2026 20:10
@thomaswhyyou thomaswhyyou changed the base branch from thomas-kno-11142-sdk-guide-toolbar-v2-poc-1 to graphite-base/844 February 2, 2026 20:47
@thomaswhyyou thomaswhyyou force-pushed the thomas-kno-11142-sdk-guide-toolbar-v2-poc-4 branch from 34821df to 7963ad8 Compare February 2, 2026 20:47
@thomaswhyyou thomaswhyyou changed the base branch from graphite-base/844 to thomas-kno-11142-sdk-guide-toolbar-v2-poc-1 February 2, 2026 20:47
@thomaswhyyou thomaswhyyou changed the title handle ineligible_guides field in the guides fetch resp chore: handle ineligible_guides in guides fetch response Feb 2, 2026
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

@thomaswhyyou thomaswhyyou marked this pull request as ready for review February 3, 2026 21:50
@thomaswhyyou thomaswhyyou requested review from a team, andy-knock, connorlindsey and kylemcd and removed request for a team February 3, 2026 21:50
@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.45%. Comparing base (c2b343f) to head (ce42ed9).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #844      +/-   ##
==========================================
+ Coverage   68.41%   68.45%   +0.04%     
==========================================
  Files         193      193              
  Lines        8041     8053      +12     
  Branches     1062     1066       +4     
==========================================
+ Hits         5501     5513      +12     
  Misses       2515     2515              
  Partials       25       25              
Files with missing lines Coverage Δ
packages/client/src/clients/guide/client.ts 88.64% <100.00%> (+0.16%) ⬆️
packages/client/src/clients/guide/types.ts 100.00% <ø> (ø)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments